home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / Asap / ASAP / BootNode_.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-09-08  |  1.2 KB  |  32 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * ABootNode wrapper class                                                   *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_BootNode_H
  12. #define ASAP_BootNode_H
  13.  
  14. extern "C"
  15. {
  16.  #include <DOS/FileHandler.h>
  17.  #include <Proto/Expansion.h>
  18. }
  19.  
  20. class ABootNode : public DeviceNode
  21. {
  22.  public:
  23.  inline BOOL AddBootNode(long bootPri, unsigned long flags, ConfigDev *configDev = 0);
  24. };
  25. //----------------------------------------------------------------------------
  26. BOOL ABootNode::AddBootNode (long bootPri, unsigned long flags, ConfigDev *configDev)
  27. {
  28.  return ::AddBootNode(bootPri, flags, this, configDev);
  29. }
  30.  
  31. #endif
  32.